python之單元測試--常見問題 Python在unittest.TestCase中提供了許多斷言的方法。 assertEqual(a,b) ---------> 核實a==b assertNotEqual(a,b) --- ...